package com.hangxintong.common.feign;

import com.hangxintong.common.config.FeignConfiguration;
import com.hangxintong.common.utils.Result;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Auther: tsj
 * @Date: 2021/2/1 13:39
 * @Description:
 */
@FeignClient(value = "coalition",configuration = FeignConfiguration.class)
public interface CommentFegin {

    /**
     * 判断用户是否已经评论
     * @Author:tsj
     * @return
     */

    @ApiOperation(value = "判断用户是否已评论")
    @GetMapping("/Info/existisComment")
    Result existisComment(@RequestParam Long id);
}
